using System;

using Sunyi.Project.WebPoint.DataAccessController;
using Sunyi.Project.WebPoint.DataContract;

namespace Sunyi.Project.WebPoint.BusinessLogic
{
    public partial class TokenManager
    {
        TokenDaoController controller = new TokenDaoController();

        public Token Select(Guid tokenId)
        {
            return controller.Select(tokenId);
        }

        public void Insert(Token token)
        {
            controller.Insert(token);
        }

        public void Update(Token token)
        {
            controller.Update(token);
        }

        public void Delete(Guid id)
        {
            controller.Delete(id);
        }
    }
}
